﻿<br>
<div class="wrapDiz">
<div style="border:1px solid #ccc; padding:0px 0px;">
<div style="border:0px; border-bottom:1px solid #ccc; background:#fff; padding:5px;"><div style="float:right;">При копировании материалов → указывайте ссылку на <a style="color:#1a1a1a;" href="javascript:istochnik();"><b>источник</b></a>!</div><b>u51st.net</b> © 2011 <b style="color:#ccc; font-size: 10px; margin: 0px 3px;">∫</b> Все права защищены. <b style="color:#ccc; font-size: 10px; margin: 0px 3px;">∫</b> $POWERED_BY$ <b style="color:#ccc; font-size: 10px; margin: 0px 3px;">∫</b> <a style="color:#ca0c27;" href="http://u51st.net/">Rip by u51st.net</a></div>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" style="width:209px;">
<div class="BlockTitlle" style="border:0px; border-bottom:1px solid #ccc;">Счётчики</div>
<div style="padding:7px; background:#fff; border:0px; border-bottom:1px solid #ccc;">
<div style="text-align:center;" id="userkaNum">Сегодня нас посетило <b id="usNaN"></b> </div><div style="display:none;" id="numUsers">$MYINF_2$</div>
</div>
<div style="padding:7px;">$COUNTER$<span style="float:right;"><a href="http://u51st.net/"><img src="http://cs-pik.ru/u51st.gif" border="0" title="Лучшая РИП студия" width="88" height="31"></a></span></div>
</td>
<td valign="top" style="border:0px; border-left:1px solid #ccc;">
<div class="BlockTitlle" style="border:0px; border-bottom:1px solid #ccc;">Показано <u>2</u> последних комментария из <u>$MYINF_Всего комментов$</u>.</div>
<div style="padding:0px;">$MYINF_Последние комментарии$</div>
</td>
<td valign="top" style="border:0px; border-left:1px solid #ccc; width:201px; background:#fff;">
<div class="BlockTitlle" style="border:0px; border-bottom:1px solid #ccc;">Мини-статистика</div>
$MYINF_Мини-статистика юзеры$$MYINF_Мини-статистика форум$</td>
</tr></table>
<script type="text/javascript">
NanUsers = function(number, one, two, five) { number = Math.abs(number); number %= 100; if (number >= 5 && number <= 20) { return five; } number %= 10; if (number == 1) { return one; } if (number >= 2 && number <= 4) { return two; } return five; };
$.get('/index/62-2', function(numUs){
$("#usNaN").append( $('a',$('cmd[p="content"]',numUs).text()).size() );
$("#userkaNum").append( NanUsers($('a',$('cmd[p="content"]',numUs).text()).size(), 'человек', 'человека', 'человек') );
});

function istochnik(){
uSite('1','Источник','247','47','<input type="text" onclick="this.select()" value="[url=http://u51st.net/]Источник![/url]" class="code" style="width:100%;"><input type="text" onclick="this.select()" value="<a href=&quot;http://u51st.net/&quot;>u51st.net</a>" class="code" style="width:100%; margin-top:5px;">','','','Отмена','','none');
}
</script>
</div><div style="padding:3px;"></div>
</div>
<?if($UNREAD_PM$>'0')?>
<div class="LsMesWrap"></div>
<script type="text/javascript">
$(".LsMesWrap").html('');
 $.get('/index/14', function (data) {
 $('b.unread', data).each(function () {
 var NameTheme = $(this).text();
 var UrlTheme = $(this).parent('a').attr('href');
 var urlSplit = $(this).parent('a').attr('href').split('/')[4].split('-')[1];

$(".LsMesWrap").append('<div class="LsMesWrapp"><div class="LsMesWrappp"><div class="LsMesTitle"><div style="float:left;">Новое уведомление</div><span onclick="$(this).parent().parent().parent().hide();" class="closeLs"></span><br/></div><div style="color:#777; padding:5px;"><a style="color:#777;" href="'+$(this).parent('a').next().attr('href')+'">'+$(this).parent('a').next().text()+'</a><span style="padding:0px 4px;"></span><a style="color:#333;" href="' + UrlTheme + '">' + NameTheme + '</a></div></div></div>');

});
});
</script>
<?endif?>
<div class="WrapAjax" style="display:none;"><div class="ajaxRun" style="display:none;"><div class="ajaxWrap">
<div class="ajaxTitle"></div><div class="ajaxAward"></div><div class="ajaxMessage"> </div>
<div class="Ajaxfooter"><div class="oclosedB"></div><div align="right"><div id="bone"></div><div id="btwo"></div></div></div>
</div></div></div>
<div class="WrapAjax_alert" style="display:none;"><div class="ajaxRun_alert" style="display:none;"><div class="ajaxWrap_alert">
<div class="ajaxTitle_alert"></div><div class="ajaxMessage_alert"> </div>
</div></div></div>